package com.axjy.mapper;

import com.axjy.pojo.User;
import com.axjy.vo.UserDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    User findUser(@Param("name") String name,@Param("pwd") String pwd);

    List<User> findAll(UserDto dto);

    Integer updateRole(@Param("uid") Integer uid, @Param("rid") Integer rid);
}
